package com.example.dazuoye.model;

import java.util.Date;

public class Order
{
    String u_id;
    int c_id;
    Date start;
    Date finish;
    String payoff;
    int dingdanid;
    String tips;
    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }


    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public int getC_id() {
        return c_id;
    }

    public void setC_id(int c_id) {
        this.c_id = c_id;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getFinish() {
        return finish;
    }

    public void setFinish(Date finish) {
        this.finish = finish;
    }

    public String getPayoff() {
        return payoff;
    }

    public void setPayoff(String payoff) {
        this.payoff = payoff;
    }

    public int getDingdanid() {
        return dingdanid;
    }

    public void setDingdanid(int dingdanid) {
        this.dingdanid = dingdanid;
    }

    public void settips()
    {
        if (finish==null) this.setTips("待接待未付款");
        else this.setTips("已完成");
    }
}
